/*
 * PWM_Config.h
 *
 *  Created on: Nov 5, 2013
 *      Author: Administrador
 */

#ifndef PWM_CONFIG_H_
#define PWM_CONFIG_H_

#include "Mytypes.h"

//Function Prototypes
void vdfn_PwmInit();
void u16fn_Pwm_BW (uint16);
void vdfn_Pwm_MASK ();
void u16fn_Pwm_TEST();
void u16fn_PI_Controler(uint16 , uint16 );
void vdfn_Pwm_MASK_Test ();

//Variables
uint16 uin16_PWM_Lenght;
uint16 Reference;

//PI variables
sint32 Error,Error1,K1,K2;
sint32 U;


#endif /* PWM_CONFIG_H_ */
